require "Common/class"
require "Common/Base/BasePanel"
--设置面板显示类
--create by lwt4 n4bvn54v
--date 2018-4-21
SettingPanel = class("SettingPanel",BasePanel)

function SettingPanel:InitPanel()
	-- body
	self.closeBtn = self.transform:FindChild("closeBtn").gameObject
	self.music_slider = self.transform:FindChild("Slider_Music"):GetComponent("Slider")
	self.audio_siler = self.transform:FindChild("Slider_Audio"):GetComponent("Slider")

	self.music_slider.value = 0.45
	self.audio_siler.value = 0.89

	self.toggleM = self.transform:FindChild("toggleM").gameObject
	self.toggleA = self.transform:FindChild("toggleA").gameObject

	self.loginOutBtn = self.transform:FindChild("loginOutBtn").gameObject

end